FROM java:11
MAINTAINER ccf xianggj@sinux.com.cn

ENV PARAMS="--spring.profiles.active=dev"

ADD target/framework-dubbo-producer.jar /dubbo-producer.jar

EXPOSE 8117/tcp

ENTRYPOINT ["sh","-c","java -jar $JAVA_OPTS /dubbo-producer.jar $PARAMS"]